Bring back the console_{putc,getc} set of functions, which
export access to the console without exporting the sercon_handle.
Signed-off-by: chris@xensource.com
spin_lock(&console_lock);
}
+void console_putc(char c)
+{
+ serial_putc(sercon_handle, c);
+}
+
+int console_getc(void)
+{
+ return serial_getc(sercon_handle);
+}
+
+int irq_console_getc(void)
+{
+ return irq_serial_getc(sercon_handle);
+}
/*
void console_force_unlock(void);
void console_force_lock(void);
+void console_putc(char c);
+int console_getc(void);
+int irq_console_getc(void);
+
#endif /* __CONSOLE_H__ */